
package callback;

public class B {
    
    public void answerQuestion(call_back cb, String s){
        System.out.println("A 的请求是：" + s);
        
        try {
            Thread.sleep(1000);
            //做一些事情
        } catch (InterruptedException ex) {
            ex.printStackTrace();
        }
        
        String result = "这个";
        
        cb.solve(result);
    }
}